//
//  OpenGPSClass.h
//  HiCar
//
//  Created by 丁一 on 2019/2/13.
//  Copyright © 2019 丁一. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CoreLocation/CoreLocation.h>

NS_ASSUME_NONNULL_BEGIN

typedef void(^OpenGPSLocationBlock)(CLLocation *location, CLPlacemark *mark, NSError *error);

@interface OpenGPSClass : NSObject<CLLocationManagerDelegate>

- (instancetype)init:(UIViewController *)vc;

@property (nonatomic, strong) CLLocationManager  *manager;
@property (nonatomic, strong) CLGeocoder         *geoCoder;

@property (nonatomic, copy)   OpenGPSLocationBlock Blcok;

@end

NS_ASSUME_NONNULL_END
